package cn.iocoder.yudao.module.system.controller.admin.evaluate.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 开店评估 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class EvaluateItemBaseVO {

    @Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotNull(message = "名字不能为空")
    private String name;

    @Schema(description = "来源", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "来源不能为空")
    private String source;

    @Schema(description = "照片", example = "https://www.iocoder.cn")
    private String picUrl;

    @Schema(description = "视频", example = "https://www.iocoder.cn")
    private String videoUrl;

    @Schema(description = "是否必须", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否必须不能为空")
    private Boolean must;

    @Schema(description = "单价", requiredMode = Schema.RequiredMode.REQUIRED, example = "13950")
    @NotNull(message = "单价不能为空")
    private Integer price;

    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "类型不能为空")
    private Integer type;

}
